<template>
  <div class="message-box">
    <div class="message">
      <p>消息</p>
      <span class="iconfont icon-jinggao" @click="show = true"></span>
    </div>
    <div class="nav">
      <div class="left">
        <p class="title">联系客服</p>
        <p class="qq">QQ :535300655</p>
        <p class="tel">0900 - 1200 13：00-18：00</p>
      </div>
      <div class="right">
        <img src="../assets/img/xx2.png" alt="" />
      </div>
    </div>
    <div class="imgs">
      <img src="../assets/img/xx3.png" alt="" />
    </div>
    <div class="main">
      <div class="top">
        <p class="title">最新消息</p>
        <span></span>
      </div>
      <div class="center">
        <img src="../assets/img/xx4.png" alt="" />
        <p>暂时还没有数据呢</p>
      </div>
    </div>

    <!-- 遮罩层 -->
    <van-overlay :show="show">
      <div class="wrapper">
        <div class="block">
          <p class="title">兼职新手指南</p>
          <ul>
            <li><span></span>确保兼职的可靠性，是否收取额外费用</li>
            <li><span></span>看谁兼职的时间，别耽误上工时间</li>
            <li><span></span>确认兼职的地点，避免不必要的时间</li>
          </ul>
          <div class="close">
            <span class="iconfont icon-guanbi" @click="show = false"></span>
          </div>
        </div>
      </div>
    </van-overlay>

    <Footer></Footer>
  </div>
</template>

<script>
import Footer from "../components/Footer.vue";
export default {
  name: "Message",
  data() {
    return {
      // isShow: false,
      show: true,
    };
  },
  methods: {},
  components: {
    Footer,
  },
};
</script>

<style scoped>
.message {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0 0.15rem 0.2rem 0.15rem;
  font-size: 0.22rem;
  padding-top: 0.15rem;
}
.message .icon-jinggao {
  font-size: 0.24rem;
}

.nav {
  margin: 0 0.2rem;
  background-color: #edf6fd;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.nav .left {
  margin-top: 0.35rem;
  margin-left: 0.12rem;
}

.nav .left .title {
  font-size: 0.2rem;
  margin-bottom: 0.2rem;
}

.nav .left .qq {
  font-size: 0.12rem;
  margin-bottom: 0.18rem;
}

.nav .left .tel {
  font-size: 0.1rem;
  color: #aebecb;
  margin-bottom: 0.2rem;
}

.imgs {
  margin: 0 0.2rem;
  margin-top: 0.15rem;
  margin-bottom: 0.2rem;
}

.main {
  display: flex;
  flex-direction: column;
  margin-left: 0.18rem;
  position: relative;
}

.main .top {
  display: flex;
  margin-bottom: 0.6rem;
}

.main .top .title {
  position: absolute;
  font-size: 0.2rem;
  z-index: 1;
}

.main .top span {
  display: block;
  width: 0.8rem;
  height: 0.3rem;
  position: absolute;
  top: 0.15rem;
  background: url(../assets/img/bg1.png) no-repeat;
  background-size: 0.8rem 50%;
}
.main .center {
  text-align: center;
  font-size: 0.14rem;
  color: #b7b7b7;
}

.wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  /* flex-wrap: wrap; */
}

.block {
  width: 3.13rem;
  height: 2rem;
  background-color: #fff;
  border-radius: 0.2rem;
}
.block .title {
  text-align: center;
  font-size: 0.2rem;
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
}
.block ul {
  margin-left: 0.2rem;
}
.block ul li {
  margin-bottom: 0.14rem;
  text-align: left;
}
.block ul li span {
  display: inline-block;
  width: 0.05rem;
  height: 0.05rem;
  border-radius: 50%;
  background-color: #3b9eec;
  margin-right: 0.1rem;
}
.block .close {
  margin-top: 1rem;
  text-align: center;
}
.icon-guanbi {
  font-size: 0.4rem;
  font-weight: 700;
  margin-top: 2rem;
  color: #fff;
}
</style>